<%@taglib  uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@taglib  uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@taglib uri="http://java.sun.com/jstl/core_rt" prefix="c" %>
<%@taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@taglib uri="http://jsptags.com/tags/navigation/pager" prefix="pg" %>

<TABLE class="mainService">
    <TR>
        <TD colSpan=1>
            <TABLE class="table0" cellSpacing=0 cellPadding=0 align=center>
                <TR>
                    <TD class="td1"></TD>
                    <TD class="top"></TD>
                    <TD class="topright"></TD>
                </TR>
                <TR>
                    <TD class="middleleft" rowSpan=3></TD>
                    <TD bgcolor="#F0F0F0">
                        <center> <h4>Information</h4></center>

                    </TD>
                    <TD class="middleright" rowSpan=3></TD>
                </TR>
                <TR>
                    <TD class="middlecenter"></TD>
                </TR>
                <TR>
                    <TD  class="main">

                        <table width="590" border="0" >
                            <tr bgcolor="#E9E9E9">
                                <td><h8>FlightCode </h8> </td>
                    <td><h8>Departure </h8>   </td>
        <td><h8>Destination </h8>   </td>
<td><h8>FlightDate </h8>   </td>
<td><h8>FlightTime </h8>   </td>
<td><h8>Website </h8>   </td>

<td><h8>Detail </h8> </td>
</tr>
<logic:present name="listflight">
    <logic:iterate id="list" name="listflight">
        <tr onmousemove="style.backgroundColor='#E9EFF8'" onmouseout="style.backgroundColor='#ffffff'">
            <td><bean:write name="list" property="flightCode"/></td>
            <td><bean:write name="list" property="departure"/></td>
            <td><bean:write name="list" property="destination"/></td>
            <td><bean:write name="list" property="flightDate"/></td>
            <td><bean:write name="list" property="flightTime"/></td>
            <td><a href="http://www.<bean:write name="list" property="webSite"/>" target="_blank"/><bean:write name="list" property="webSite"/></td>
            <td><a href="flight.do?action=flightDetail&id=<bean:write name="list" property="flightId"/>">Detail</a></td>
        </tr>
    </logic:iterate>
</logic:present>
</table>

</TD>
</TR>
<TR>
    <TD class="bottom"><IMG border=0 alt="" src="img/pod_main_bottom_left.gif"></TD>
    <TD class="bottomright"><P align=right>&nbsp;</P></TD>
    <TD class="bottomleft"><IMG border=0 alt="" src="img/pod_main_bottom_right.gif"></TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
<br>
